package com.nami.store.biz.privatehismsgs.repository;


import com.nami.store.api.request.message.HisMsgQryRequest;
import com.nami.store.api.response.message.MessageDTO;
import com.nami.store.domain.PrivateHisMsgsDO;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 发件箱 服务类
 * </p>
 *
 * @author lbc
 * @since 2024-06-15
 */
public interface PrivateHisMsgsRepository {

    /**
     * @param
     * @return
     */
    boolean save(PrivateHisMsgsDO msgs);

    Map<String, MessageDTO> getMsgs(List<String> c2cMsgIds);

    List<PrivateHisMsgsDO> getHisMsgs(HisMsgQryRequest request);
}
